﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Desp.Master" CodeBehind="WfMeuCadastroDesp.aspx.vb" Inherits="PROJETO_ZEUS.WfMeuCadastroDesp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 269px;
        }
        .style3
        {
            width: 128px;
        }
        .style4
        {
            width: 128px;
            height: 21px;
        }
        .style5
        {
            width: 269px;
            height: 21px;
        }
        .style6
        {
            height: 21px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style1">
        <tr>
            <td class="style3">
                Nome:</td>
            <td class="style2">
                <asp:TextBox ID="tbnome" runat="server" Enabled="False" Width="260px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="tbnome" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                E-mail:</td>
            <td class="style2">
                <asp:TextBox ID="tbemail" runat="server" Enabled="False" Width="261px" 
                    AutoPostBack="True"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="tbemail" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="tbemail" ErrorMessage="Formato e-mail Inválido !" 
                    ForeColor="Red" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Telefone:</td>
            <td class="style2">
                <asp:TextBox ID="tbtel" runat="server" Enabled="False" Width="260px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="tbtel" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Endereço:</td>
            <td class="style2">
                <asp:TextBox ID="tbend" runat="server" Enabled="False" Width="261px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="tbend" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Cpf/Cnpj:</td>
            <td class="style2">
                <asp:TextBox ID="tbcpf" runat="server" Enabled="False" Width="262px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="tbcpf" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Senha:</td>
            <td class="style2">
                <asp:TextBox ID="tbsenha" runat="server" Enabled="False" Width="263px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="tbsenha" ErrorMessage="Campo Obrigatório !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                Estado:</td>
            <td class="style2">
                <asp:DropDownList ID="DropEstado" runat="server" AutoPostBack="True" 
                    Enabled="False">
                    <asp:ListItem Value="neutro">Selecione seu Estado</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="estadoValidate" runat="server" 
                    ControlToValidate="DropEstado" ErrorMessage="Campo Obrigatório !" 
                    ForeColor="Red" Enabled="False"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style4">
                Cidade:</td>
            <td class="style5">
                <asp:ListBox ID="ListCidade" runat="server" AutoPostBack="True" Enabled="False" 
                    Width="202px"></asp:ListBox>
            </td>
            <td class="style6">
                <asp:RequiredFieldValidator ID="ValidacaoCidade" runat="server" 
                    ControlToValidate="ListCidade" Enabled="False" 
                    ErrorMessage="Selecione sua Cidade !" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td class="style2">
                <asp:Button ID="editar" runat="server" Text="Editar" />
                <asp:Button ID="Salvar" runat="server" Text="Salvar Alterações" 
                    Visible="False" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
            <td class="style2">
                <asp:Label ID="lbmsg" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
